package com.example.work1.server.mapper;

import com.example.work1.server.pojo.Major;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MajorMapper {
    @Select("SELECT * FROM majors")
    List<Major> getAllMajors();
}
